package com.hmdp.myconst;

import org.springframework.data.redis.connection.lettuce.LettuceConnection;

public   class KeyConst {
    //校验码的key
    public static final String LOGIN_USER_CODE="code:";
    //token的key
    public static final String LOGIN_USER_TOKEN="heima:token:";
    //验证码时间
    public static final int LOGIN_CODE_TIME=1;
    //token时间
    public static final int LOGIN_TOKEN_TIME=10000;
    //查询商户关键字
    public static final String QUERY_SHOP_KEY="heima:shop:";
    //商户存在时间'
    public static final int QUERY_SHOP_TIME=10;
    //秒杀优惠卷缓存关键字
    public static final String SECKILL_STOCK_KEY="seckill:stock:";
    //异步秒杀lua脚本
    public static final String SECKILL_SCRIPT="seckillHandler";
    //博客点赞的key
    public static final String BLOG_LIKES="blog:article:";
}